package com.powernode.springmvc.service;

import com.powernode.springmvc.bean.User;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    public User getById(Long id) {
        if(id==1){
            return new User(111L,"lunar","121",22);
        }
        return null;
    }
}
